<div id="site">
    <div class="red">
        [$result.msg]
    </div>
    <div>
    	<div id="sec_module">
		</div>
    	<div id="main_module">
    		<div id="main_module_content">
		        <form action="/admin/admin_site/savesite" name="savesite" id="savesite" method="post">
		        	<input type="hidden" name="site[s_id]" value="[$site.s_id]"/>
		            <table>
		                <tr>
		                    <td width="200px">
		                        名称
		                    </td>
		                    <td>
		                        <input type="text" value="[@htmlspecialchars($site.s_name)]" name="site[s_name]"/><span class="red">*</span>
		                    </td>
		                </tr>
		                <tr>
		                    <td>
		                        联系人
		                    </td>
		                    <td>
		                        <input type="text" value="[@htmlspecialchars($site.s_link)]" name="site[s_link]"/><span class="red">*</span>
		                    </td>
		                </tr>
		                <tr>
		                    <td>
		                        电话
		                    </td>
		                    <td>
		                        <input type="text" value="[@htmlspecialchars($site.s_phone)]" name="site[s_phone]"/><span class="red">*</span>
		                    </td>
		                </tr>
		                <tr>
		                    <td>
		                        邮件
		                    </td>
		                    <td>
		                        <input type="text" value="[@htmlspecialchars($site.s_email)]" name="site[s_email]"/><span class="red">*</span>
		                    </td>
		                </tr>
		                <tr>
		                    <td>
		                        备注
		                    </td>
		                    <td>
		                       <textarea class=textarea name="site[s_des]">[@htmlspecialchars($site.s_des)]</textarea>
		                    </td>
		                </tr>
		                <tr>
		                    <td>
		                        排序
		                    </td>
		                    <td>
		                        <input type="" size="10" value="[@htmlspecialchars($site.sort)]" name="site[sort]"/>
		                    </td>
		                </tr>
		            </table>
		            <input type="submit" class="input" name="submit_btn" value="保存"/>
		        </form>
				</div>
			</div>
    </div>
    <script>
        $(function(){
            $(":submit").click(function(e){
                $.ajaxSubmit($(this).parents('form'), function(data){
                    $.showPageInfo("#page_info", data.info, 500, true);
                });
                return false;
            });
            
        })
    </script>
</div>
